module.exports = function(app) {
    require('./replaceHtml.js');

    var projectStatus = require('./routes/projectStatus.js');
    var projects = require('./routes/projects.js');
    var recentChanges = require('./routes/recentChanges.js');
    var getProjectSummary = require('./routes/getProjectSummary.js');
    var getProjectLayers = require('./routes/getProjectLayers.js');
    var singlePointRecentChanges = require('./routes/singlePointRecentChanges.js');
    var mainStatusTimeList = require('./routes/mainStatusTimeList');
    var recentChangesByTimeList = require('./routes/recentChangesByTimeList');
    var exportChart = require('./routes/exportChart');

    app.use('/projects', projects);
    app.use('/recentChanges', recentChanges);
    app.use('/projectStatus', projectStatus);
    app.use('/getProjectSummary', getProjectSummary);
    app.use('/getProjectLayers', getProjectLayers);
    app.use('/singlePointRecentChanges', singlePointRecentChanges);
    app.use('/mainStatusTimeList', mainStatusTimeList);
    app.use('/recentChangesByTimeList', recentChangesByTimeList);
    app.use('/exportChart', exportChart);
};
